package me.ctidy.assignment04.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import me.ctidy.assignment04.constant.AssetsType;

import java.io.Serializable;

/**
 * Assets
 *
 * @author ctidy
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Assets implements Serializable {

    /** ID */
    private Long id;

    /** 资产名称 */
    private String assetsName;

    /** 资产类型 */
    private AssetsType assetsType = AssetsType.OTHER;

    /** 资产金额 */
    private Double assetsMoney = 0.0D;

    /** 备注 */
    private String remarks = "";

}
